from urllib.request import urlopen

url = "http://www.scec.net.cn/uploadfile/2018/0621/20180621095252966.pdf"
resp = urlopen(url)

with open("StudyMap2.html",mode="w",encoding="utf-8") as f:
    f.write(resp.read().decode("utf-8"))
print("over!")
